<template>
	<view>
		用户中心
		<button type="default" @click="onLoginOut">退出登陆</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			onLoginOut () {
				uni.clearStorageSync()
				uni.navigateTo({
					url: '/pages/login/index'
				})
			}
		}
	}
</script>

<style>

</style>
